<form id="pay_form" method="post" action="/index.php">
    <input style="display: none" name="controller" value="user_pay"/>
    <input style="display: none" name="pay_goods_type" value="1"/>
    <ul class="am-list" style="margin-top:-1px;margin-bottom:0px">
        <li class="app-list-content" style="padding: 10px 20px">
            <span>充值数量：</span>
            <input class="am-fr" id="pay_count" name="pay_count" value="10" style="border: none;text-align: right;"
                   onchange="pay_count_change(this)"/>
        </li>
        <li class="app-list-content" style="padding: 10px 20px">
            <span>金币单价：</span>
            <span class="am-fr">1元</span>
        </li>
        <li class="app-list-content" style="padding: 10px 20px">
            <span>总额：</span>
            <span class="am-fr"><b id="pay_total" class="app-main-color">10</b>元</span>
        </li>
    </ul>
    <div class="app-content-divider"></div>
    <div style="padding: 10px ;">
        <b class="app-tittle-color">支付方式</b>
    </div>
    <ul class="am-list" style="margin-top:0px;margin-bottom:0px">
        <li class="app-list-content" style="padding: 10px 20px">
            <label style="display: block;margin: 0;">
                <img src="<?= $CfgPara->httproot ?>/img/zhifubao36x36.png" height="24" width="24"/>
                <span style="font-weight: 400;">支付宝</span>
                <input class="am-fr" type="radio" name="pay_tool" value="1" checked/>
            </label>
        </li>
        <li class="app-list-content" style="padding: 10px 20px">
            <label style="display: block;margin: 0;">
                <img src="<?= $CfgPara->httproot ?>/img/weixin32x32.png" height="24" width="24"/>
                <span style="font-weight: 400;">微信支付</span>
                <input class="am-fr" type="radio" name="pay_tool" value="2"/>
            </label>
        </li>
    </ul>
</form>
<div style="width: 100%;position: fixed; bottom: 20px; text-align: center;">
    <button class="am-btn am-btn-warning am-radius" style="width: 90%;" onclick="pay_submit()">
        确认支付
    </button>
</div>